.carousel {
    position: relative;
    height: 800px;
    /* 调整轮播图的高度 */
    overflow: hidden;
    margin: 0 auto;

}

.carousel-images {
    display: flex;
    transition: transform 0.5s ease-in-out;
    max-width: 100%;
}

.carousel-image {
    min-width: 100%;
    height: 800px;
    /* 设置固定高度 */
    object-fit: cover;
}

.carousel-buttons {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    z-index: 1;
}

.carousel-button {
    background-color: rgba(239, 9, 9, 0.5);
    color: white;
    border: none;
    cursor: pointer;
    padding: 10px;
    font-size: 20px;
}